import React, {Component} from 'react'

class List extends Component {
    constructor(props) {
        super(props)
        this.state = {}
    }

    componentDidMount() {
        console.log(this.props.match)
        this.setState({
            id: this.props.match.params.id
        })
    }

    render() {
        return (
            <div>
                wuxianshen.com?id={this.state.id}
            </div>
        );
    }
}

export default List
